import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/archives',
    name: 'archives',
    component: Layout,
    redirect: '/archives',
    meta: {oderNo:1, title: '档案', icon: 'edit-2', expanded: true },

    children: [
      {
        path: 'index',
        name: 'ArchivesList',
        component: () => import('@/pages/archives/index.vue'),
        meta: { title: '查询档案' },
      },
      {
        path: 'edit',
        name: 'archivesEdit',
        component: () => import('@/pages/archives/edit.vue'),
        meta: { title: '新建档案' },
      },
      {
        path: 'bmedit/:id?',
        name: 'archivesBm',
        component: () => import('@/pages/archives/baoming.vue'),
        meta: { title: '意向表' , expanded:true,hidden:true},
      },
    ],
  },
];
